import request from '@/utils/request'

// 新增设备
const addNewEquipment = data => request({ method: "POST", url: "/sys/equipment", data })
// 查询设备列表
const getEquipmentRecords = params => request({ method: "GET", url: "/sys/equipment", params })
// 批量删除
const deleteMultipleByIds = data => request({ method: "DELETE", url: "/sys/equipment", data })
// 修改设备列表
const updateEquipment = data => request({ method: "PUT", url: "/sys/equipment", data })

export { addNewEquipment, getEquipmentRecords, deleteMultipleByIds, updateEquipment }